package cn.bonoon.kernel.expression.resolver;

import cn.bonoon.kernel.expression.ExpressionParseContext;
import cn.bonoon.kernel.expression.results.SesssionExpressionValue;

public class SesssionExpressionResolver extends AbstractExpressionPropertyResolver{

	SesssionExpressionResolver(){
		super("SESSION");
	}
	
	@Override
	protected boolean internalResolver(ExpressionParseContext context, String[] commands) throws Exception {
		String name = commands[1];
		context.value(new SesssionExpressionValue(context, name));
		return super.internalResolver(context, commands);
	}
}
